package ren.steve.model.system.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "系统登录日志")
@TableName("system_login_log")
public class SystemLoginLog implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID")
	@TableId(type = IdType.AUTO)
	private String id;

	@ApiModelProperty(value = "用户")
	@TableField("user")
	private String user;

	@ApiModelProperty(value = "登录IP地址")
	@TableField("ip")
	private String ip;

	@ApiModelProperty(value = "状态")
	@TableField("status")
	private String status;

	@ApiModelProperty(value = "提示信息")
	@TableField("message")
	private String message;

	@ApiModelProperty(value = "访问时间")
	@TableField("gmt_access")
	private Date gmtAccess;

}